﻿
Public Class RealRandom
    Private Shared Generator As System.Random = New System.Random()

    Public Shared Function Rand(min As Integer, max As Integer) As Integer
        Return Generator.Next(Math.Min(min, max), Math.Max(min, max) + 1)
    End Function
End Class
